package com.unohacha.qqj.fzdr.bean.homebean;

import java.util.List;

/**
 * 首页应用的实体类
 */

public class HomeAppBean {

    /**
     * code : 1
     * data : [{"img":"http://huafang.unohacha.com/uploads/admin/admin_thumb/20180502/c7d09afce37b3949a99cbe371cfe1c0b.png","name":"物资行情","id":45},{"img":"http://huafang.unohacha.com/uploads/admin/admin_thumb/20180502/041e7d8d585b6f13c4e8c78c74725732.png","name":"物流信息","id":47},{"img":"http://huafang.unohacha.com/uploads/admin/admin_thumb/20180502/874ef8a9986046ed290679bf04de7ec9.png","name":"快递查询","id":48},{"img":"http://huafang.unohacha.com/uploads/admin/admin_thumb/20180502/79c086592ec8c40ecaa87a24125d7d69.png","name":"展会信息","id":49},{"img":"http://huafang.unohacha.com/uploads/admin/admin_thumb/20180502/da6717642cb3881bd78c9171d374ba07.png","name":"纺织学堂","id":50},{"img":"http://huafang.unohacha.com/uploads/admin/admin_thumb/20180502/46aa6a223d3b1fa48b2d636da71086ad.png","name":"纺织标准","id":51},{"img":"http://huafang.unohacha.com/uploads/admin/admin_thumb/20180502/d415e78d503680cec2c77c7f2ada16a8.png","name":"商家讨论区","id":52},{"img":"http://huafang.unohacha.com/uploads/admin/admin_thumb/20180502/754f8cf5c4fa2fe64bbb6bb1e7791e21.png","name":"本地黄页","id":54}]
     * message : 请求成功
     */
    private int code;
    private List<DataEntity> data;
    private String message;

    public void setCode(int code) {
        this.code = code;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public String getMessage() {
        return message;
    }

    public class DataEntity {
        /**
         * img : http://huafang.unohacha.com/uploads/admin/admin_thumb/20180502/c7d09afce37b3949a99cbe371cfe1c0b.png
         * name : 物资行情
         * id : 45
         */
        private String img;
        private String name;
        private int id;

        public void setImg(String img) {
            this.img = img;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getImg() {
            return img;
        }

        public String getName() {
            return name;
        }

        public int getId() {
            return id;
        }
    }
}
